package day04;

import sun.plugin.dom.exception.BrowserNotSupportedException;

import java.util.Scanner;

public class MainTest8 {
    public static void main(String[] args) {
        System.out.println("请输入一个数");
        Scanner input=new Scanner(System.in);
        int count = input.nextInt();

        for (int a =1;a<=count;a++){
            for (int i=0;i<=count-a;i++){
                System.out.print(" ");
            }
            for (int col=0;col<=a*2-1;col++){
                System.out.print(a);
            }
            System.out.println( );
        }
    }
}
